<?php
namespace Core\CoreComponents\ArticlesManager;

/**
* This interface provide all accessible methods on Users module
*
* @method ServiceResponse getArticles()
*/
interface IArticles
{
	/**
	* Get all articles
	*
	* @return This response contains all articles
	*/
    public function getArticles();
	
	/**
	* Get online articles
	*
	* @return This response contains all online articles
	*/
	public function getOnlinesArticles();
	
	/**
	* Add an article
	*
	* @param string $title The article title
	* @param string $text The article content
	*
	* @return This response contains the added article
	*/
    public function addArticle($title, $text);
}

?> 